package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyCwFine;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyCwFineParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyCwFineResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 财务罚款 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-01-18
 */
public interface BtyCwFineMapper extends BaseMapper<BtyCwFine> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2022-01-18
     */
    List<BtyCwFineResult> customList(@Param("paramCondition") BtyCwFineParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2022-01-18
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyCwFineParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2022-01-18
     */
    Page<BtyCwFineResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyCwFineParam paramCondition, @Param("name") String name);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2022-01-18
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyCwFineParam paramCondition);

    List<Map> getMapList();

    int getCon(@Param("param") BtyCwFine entity);

    void updateByYm(@Param("param") BtyCwFine entity);

    List<Map> dmList(@Param("name") String name);

    List<BtyCwFine> getAuditList(@Param("month") String month, @Param("name") String name);

    void updateList(@Param("list") List<BtyCwFine> list);

    void auditById(@Param("id") Long id);

    void recallById(Long id);

    void editById(@Param("param") BtyCwFine newEntity);

    List<Map> getList(@Param("month") String month, @Param("name") String name);

    void updateCwFine(List<Map> list);

    void updateFine(@Param("map") Map map);
}
